package com.tanjie.blackbean.system.admin.model.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author: tanjie
 * @date: 2021-12-13
 **/
@Data
@Schema(name = "MeVO", description = "当前登录用户信息")
public class MeVO implements Serializable {

    private static final long serialVersionUID = -1119668087887141772L;

    @Schema(description = "主键")
    private String id;

    @Schema(description = "组织机构组织id")
    private String orgId;

    @Schema(description = "组织机构组织名称")
    private String orgName;

    @Schema(description = "组织机构logo图片")
    private String orgLogo;

    @Schema(description = "组织机构组织全称")
    private String orgFullName;

    @Schema(description = "登录用户名")
    private String username;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "角色")
    private List<String> roles = new ArrayList<>();

    @Schema(description = "权限节点")
    private List<String> perms = new ArrayList<>();

}
